<template>
  <!--瓦片图层-->
  <baidu-map class="map" center="长沙" :scroll-wheel-zoom="true">
    <bm-tile
      :isTransparentPng="true"
      tileUrlTemplate="https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}.jpg"
    >
    </bm-tile>
  </baidu-map>
  <!--
    交通流量图层
    predictDate     预测日期
  -->
  <!-- <baidu-map class="map" center="长沙" :scroll-wheel-zoom="true">
    <bm-traffic :predictDate="{ weekday: 7, hour: 12 }"> </bm-traffic>
  </baidu-map> -->
</template>
<style>
.map {
  width: 100%;
  height: 100%;
}
</style>